import request from '@/utils/request';

// 签到列表
export const participationList = params => request({
    url: '/business/Record/Participation/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到新增
export const channelAdd = params => request({
    url: '/business/channel/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到更新
export const channelUpdate = params => request({
    url: '/business/channel/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到删除
export const channelDel = params => request({
    url: '/business/channel/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到导出
export const channelExport = params => request({
    url: '/business/channel/export',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到导入
export const channelImp = params => request({
    url: '/business/channel/imp',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到状态更新
export const channelStatus = params => request({
    url: '/business/channel/status/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 签到详情
export const channelDetail = params => request({
    url: '/business/channel/get',
    method: 'GET',
    params
});

// 签字板辅助功能

export const signBoardSend = params => request({
    url: '/business/sign/board/send',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
